﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace r2mp_Excel
{
    public partial class Dialog : Form
    {
        public Dialog()
        {
            InitializeComponent();
        }

        private void rbMTA_CheckedChanged(object sender, EventArgs e)
        {
            if (rbPSP.Checked)
            {
                pMTA.Visible = false;
            }
            else
            {
                pMTA.Visible = true;
            }
        }

        public int period()
        {
            if (rbMonths.Checked)
            {
                return 0;
            }
            else
            {
                return 1;
            }
        }

        private void Dialog_Load(object sender, EventArgs e)
        {

        }
    }
}
